package com.yc.edu.vo;

import com.yc.edu.validator.IsPhone;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author YC
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginPhoneVO {
    @IsPhone
    private String phone;

    @NotEmpty
    private String code;
}
